import Vue from 'vue'
import App from './App'
import uView from '@/uni_modules/uview-ui'
import store from './store'
import share from './common/share.js'
import './static/font/font.css'
import music from './common/music.js'
// 将声音挂在到Vue
Vue.prototype.stop = music.stop
Vue.prototype.$Audio = music.Audio

Vue.use(uView)
Vue.mixin(share)

Vue.prototype.$shake = () => uni.vibrateShort({
	success: function() {
		console.log('success');
	}
});
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount()